package com.boolib.service;

import com.boolib.commons.entity.ServerResponse;
import com.boolib.pojo.SysUser;

public interface IAdminService {



    ServerResponse<SysUser> sysUserLoginAuth(SysUser sysUser);




    ServerResponse sysUserRegister(SysUser sysUser);



    ServerResponse sysUserForgetPassword(String username);





    ServerResponse sysUserAlterPasswordBeforeLogin( Integer id ,String password , String token );



    ServerResponse sysUserAlterPasswordAfterLogin(Integer id, String password);


    /**
     * 查询所有状态正常的 用户(超级管理员 ，客服)
     * @return
     */
    ServerResponse sysUserSelectShopUserNormal(int pageNum, int pageSize);


    /**
     * 查询所有状态异常的用户( 超级管理员 ，客服)
     * @return
     */
    ServerResponse sysUserSelectShopUserAbnormal(int pageNum, int pageSize);


    /**
     * 查询所有状态正常的管理员（只能超级管理员查看）
     * @return
     */
    ServerResponse sysUserSelectSysUserNormal(int pageNum, int pageSize);


    /**
     * 查看所有状态异常的管理员
     * @return
     */
    ServerResponse sysUserSelectSysUserAbnormal(int pageNum, int pageSize);




}
